﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CadastroClientes.aspx.cs" Inherits="MEI.CadastroClientes" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style2 {
            width: 100%;
        }

        .auto-style4 {
        }

        .auto-style5 {
            width: 51px;
            font-weight: bold;
        }

        .auto-style6 {
            width: 104px;
            text-align: center;
        }

        .auto-style7 {
            text-align: left;
        }

        .auto-style8 {
            width: 104px;
            text-align: left;
        }

        .auto-style9 {
            width: 51px;
            font-weight: bold;
            text-align: left;
        }

        .auto-style10 {
            font-weight: bold;
            width: 66px;
        }

        .auto-style11 {
            width: 286px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="divCliente">
        <fieldset>
            <legend>Cadastro Cliente</legend>

            <table class="auto-style2">
                <tr>
                    <td class="auto-style9">Nome:</td>
                    <td class="auto-style8">
                        <asp:TextBox ID="txtCadNome" runat="server" Width="279px"></asp:TextBox>
                    </td>
                    <td class="auto-style7" colspan="2">&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style9">Endereço:</td>
                    <td class="auto-style8">
                        <asp:TextBox ID="txtCadEndereco" runat="server" Width="279px"></asp:TextBox>
                    </td>
                    <td class="auto-style7">&nbsp;</td>
                    <td class="auto-style7">&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style9">Telefone:</td>
                    <td class="auto-style8">
                        <asp:TextBox ID="txtCadTelefone" runat="server" Width="164px"></asp:TextBox>
                    </td>
                    <td class="auto-style7"><strong>Aniversário</strong></td>
                    <td class="auto-style7">
                        <asp:TextBox ID="txtCadAniversario" runat="server" Width="164px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style9">Email:</td>
                    <td class="auto-style8">
                        <asp:TextBox ID="txtCadEmail" runat="server" Width="164px"></asp:TextBox>
                    </td>
                    <td class="auto-style7">&nbsp;</td>
                    <td class="auto-style7">&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style5">&nbsp;</td>
                    <td class="auto-style6">&nbsp;</td>
                    <td class="auto-style4">&nbsp;</td>
                    <td style="text-align: right">&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style5">&nbsp;</td>
                    <td class="auto-style6">&nbsp;</td>
                    <td class="auto-style4">&nbsp;</td>
                    <td style="text-align: center">
                        <asp:Button ID="bntCadastrar" align="center" runat="server" Text="Cadastrar" OnClick="bntCadastrar_Click" />
                    </td>
                </tr>
            </table>

        </fieldset>

        <fieldset>
            <legend>Pesquisa Cliente</legend>

            <table class="auto-style2">
                <tr>
                    <td class="auto-style10">Nome:</td>
                    <td class="auto-style11">
                        <asp:TextBox ID="txtPesqNome" runat="server" Width="279px"></asp:TextBox>
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style10">Telefone:</td>
                    <td class="auto-style11">
                        <asp:TextBox ID="txtPesqTelefone" runat="server" Width="164px"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button ID="bntPesquisar" align="center" runat="server" Text="Pesquisar" OnClick="bntPesquisar_Click" />
                    </td>
                </tr>
            </table>

        </fieldset>
        <br />



        <asp:GridView ID="grdCliente" runat="server">
        </asp:GridView>       

    </div>



</asp:Content>
